<template>
  <el-container>
    <el-header>
      <Nav></Nav>
    </el-header>
    <el-container>
      <el-aside width="200px">
        <Aside></Aside>
      </el-aside>
      <el-main>
          <router-view></router-view>
      </el-main>
    </el-container>
  </el-container>
</template>

<script>


  import  Nav from '@/components/Nav'
  import  Aside from '@/components/Aside'

  export default {
    name: "Index.vue",
    components:{
      Aside,Nav
    }
  }
</script>

<style scoped>
.el-header {
  color: #333;
  text-align: center;
  line-height: 60px;
  margin-left: 220px;
}

.el-main {
  color: #333;
  text-align: center;
  margin-left: 220px;

}


.el-aside {
  background-color: #D3DCE6;
  color: #333;
  text-align: center;
  position: fixed;
  top:0;
  left:0;
  bottom:0;
}



</style>